home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 90 / CDMM_90_1.ISO / Cycling Manager 2 / CyclingManager2Demo.exe / Disk1 / data1.cab / Game / DataCM2 / scripts / materials / chart.cnh next >
Encoding:
Text File  |  2002-05-10  |  1.9 KB  |  83 lines

  1. // GRAPHIC CHART PARAMETERS
  2.  
  3. /*
  4.  * PAGES
  5.  *
  6.  */
  7.     var i32x cPageTitleColor;
  8.  
  9. /*
  10.  * LISTBOX
  11.  *
  12.  */
  13.     var i32x cListBoxBackground;
  14.     var i32x cListBoxTitleBackground;
  15.     var i32x cListBoxTitleForground;
  16.     var i32x iListBoxFieldPadding;
  17.  
  18.  
  19. /*
  20.  * TABLES
  21.  *
  22.  */
  23.     var i32x cTableEvenRowBackColor;
  24.     var i32x cTableOddRowBackColor;
  25.     var i32x cTableColumnTitleColor;
  26.     var i32x cTableSelectColor;
  27.     var i32x cTableLineColor;            // color for separation lines
  28.     var i32x iTableLineWidth;            // width for separation lines
  29.     var i32x iTableGapWidth;            // gap between rows
  30.  
  31. /*
  32.  *    HINTS
  33.  *
  34.  */
  35.     var Menu_Material pHintFont;
  36.     var i32x cHintTextColor;
  37.     var i32x cHintBackColor;
  38.     var f32x fHintDelay;
  39.  
  40.  
  41. /*
  42.  *    LOADING
  43.  *
  44.  */
  45.     var i32x cLoadingBackColor;
  46.     var Menu_Material smLoadingFont;
  47.     var i32x cLoadingFontColor;
  48.     var i32x cLoadingGaugeColor;
  49.  
  50.  
  51. func void g_Chart_Load()
  52. {
  53.     // PAGES
  54.     cPageTitleColor = MakeARGB(255, 19, 64, 104);
  55.  
  56.     // TABLES
  57.     cTableEvenRowBackColor = MakeARGB(90, 255, 255, 255);
  58.     cTableOddRowBackColor = MakeARGB(90, 100, 100, 255);
  59.     cTableSelectColor = MakeARGB(150, 189, 252, 164);
  60.     cTableLineColor = MakeARGB(255, 255, 255, 255);
  61.     cTableColumnTitleColor = MakeARGB(120, 100, 255, 30);
  62.     iTableLineWidth = 2;
  63.     iTableGapWidth = 4;
  64.     
  65.     // LISTBOX
  66.     cListBoxBackground = MakeARGB(90, 150, 150, 180);
  67.     // cListBoxTitleBackground = MakeARGB(120, 100, 100, 255);
  68.     cListBoxTitleBackground = MakeARGB(150, 189, 190, 173);
  69.     cListBoxTitleForground = MakeARGB(255, 255, 255, 255);
  70.     iListBoxFieldPadding = 5; // space between text and field border
  71.  
  72.     // HINTS
  73.     pHintFont = smTrebuchet;
  74.     cHintTextColor = MakeARGB(255, 0, 0, 0);
  75.     cHintBackColor = MakeARGB(255, 255, 255, 212);
  76.     fHintDelay = 1000.0; // one second
  77.  
  78.     // LOADING
  79.     cLoadingBackColor = MakeARGB(62, 0, 255, 255);
  80.     smLoadingFont = smBauer;
  81.     cLoadingFontColor = MakeARGB(255, 255, 255, 255);
  82.     cLoadingGaugeColor = cEBColor;
  83. }